$(function () {
    //激活页面
    activeMenu("probe-manager");

    $('#reboundTable').dataTable(
        {
            "paging": true,
            "lengthChange": false,
            "searching": false,
            "ordering": false,
            "info": true,
            "autoWidth": false
        }
    );

    $('#reboundGroupTable').dataTable(
        {
            "paging": true,
            "lengthChange": false,
            "searching": false,
            "ordering": false,
            "info": true,
            "autoWidth": false
        }
    );

    var reboundAdd = $('#rebound-add');
    reboundAdd.click(function () {
        $('#add-rebound-pop').show();
    });

    var modifyRebound = $('.modify-rebound');
    modifyRebound.click(function () {
        $('#add-rebound-pop').show();
    });

    var deleteRebound = $('.delete-rebound');
    deleteRebound.click(function () {
        $('#confirm-delete-rebound-pop').show();
    });

    var reboundGroupAdd = $('#rebound-group-add');
    reboundGroupAdd.click(function () {
        $('#add-rebound-group-pop').show();
    });

    var detailReboundGroup = $('.re_group-detail');
    detailReboundGroup.click(function () {
        $('#add-rebound-group-pop').show();
    });

    var modifyReboundGroup = $('.re_modify-group');
    modifyReboundGroup.click(function () {
        $('#add-rebound-group-pop').show();
    });

    var deleteReboundGroup = $('.re_delete-group');
    deleteReboundGroup.click(function () {
        $('#confirm-delete-rebound-pop').show();
    });
});